// src/router/index.ts
import { createRouter, createWebHistory, type RouteRecordRaw } from 'vue-router';
import { Home } from '../views/home/Home'; // 假设你有一个 Home 组件

const routes: RouteRecordRaw[] = [
  {
    path: '/',
    name: 'Home',
    component: Home,
  },
  
];

const router = createRouter({
// import.meta.env.BASE_URL
  history: createWebHistory(),
  routes
});

export default router;